\hypertarget{WaterFlooding_8cpp}{
\subsection{Examples/09FlowInPorousMedia/WaterFlooding.cpp File Reference}
\label{WaterFlooding_8cpp}\index{Examples/09FlowInPorousMedia/WaterFlooding.cpp@{Examples/09FlowInPorousMedia/WaterFlooding.cpp}}
}


Single phase in porous media in 1D.  


\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{WaterFlooding_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{main} ()
\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
\begin{DoxyParagraph}{Description}
This code solves the 1D single phase equation for pressure: $ \frac{\phi \mu c}{k}\frac{\partial p}{\partial t} = \nabla^2 p $. This equation is solved in the interval $ x \in [0,100 cm] $. The data used are: The initial condition for the temperature is $ P = 0 $ and the boundary conditions: $ P_L=2 atm $ and $ P_R=1 atm$. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Compiling and running}
Modify the variables BASE and BLITZ in the file {\ttfamily tuna-\/cfd-\/rules.in} according to your installation and then type the next commands: \begin{DoxyVerb}
   % make
   % ./singlePhase  \end{DoxyVerb}

\end{DoxyParagraph}
\begin{DoxyAuthor}{Author}
Luis M. de la Cruz \mbox{[} Mon Mar 17 08:47:37 GMT 2008 \mbox{]} 
\end{DoxyAuthor}


Definition in file \hyperlink{WaterFlooding_8cpp_source}{WaterFlooding.cpp}.



\subsubsection{Function Documentation}
\hypertarget{WaterFlooding_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}{
\index{WaterFlooding.cpp@{WaterFlooding.cpp}!main@{main}}
\index{main@{main}!WaterFlooding.cpp@{WaterFlooding.cpp}}
\paragraph[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{WaterFlooding_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4}






Definition at line 43 of file WaterFlooding.cpp.

